package com.wtb.javatool.vo;


import com.wtb.javatool.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "User", description = "用户Dto")
public class UserVo {
    @ApiModelProperty(value = "用户ID", example = "10001")
    private Long userId;

    @ApiModelProperty(value = "用户名", example = "张三")
    private String username;

    @ApiModelProperty(value = "手机号", example = "13800138000")
    private String phone;

    @ApiModelProperty(value = "邮箱", example = "user@example.com")
    private String email;

    @ApiModelProperty(value = "角色",example = "student | teacher")
    private int role;

}